home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000402_fdc@panix.com_Sun Aug 20 16:07:53 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
  2. From: Frank Da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: extremely high latency channel
  5. Date: Sun, 20 Aug 2006 19:58:50 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 57
  8. Message-ID: <slrneehfnq.j1o.fdc@panix2.panix.com>
  9. References: <1155239757.815134.180170@74g2000cwt.googlegroups.com> <1155277449.917953.181880@h48g2000cwc.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix2.panix.com
  12. X-Trace: reader2.panix.com 1156103930 29274 166.84.1.2 (20 Aug 2006 19:58:50 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Sun, 20 Aug 2006 19:58:50 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15534
  17.  
  18. On 2006-08-11, tomviolin <rock_spambust_violin@yahoo.com> wrote:
  19. : As a followup, I have found that using Zmodem protocol over the link
  20. : works slowly but reliably when timeouts are disabled using the -O
  21. : parameter.
  22. :
  23. Sorry for the delay in getting to this; I have to go out of my way to
  24. check netnews these days.
  25.  
  26. Zmodem is a streaming protocol.  You can make C-Kermit stream too if you
  27. want to try it.  This technique is appropriate for error-free connections
  28. such as over TCP/IP networks, but it can also work when you have an
  29. error-free serial connection, such as you should have when using
  30. error-correcting modems and hardward flow control.  See:
  31.  
  32.   http://www.columbia.edu/kermit/ckermit70.html#x4.20
  33.  
  34. See especially section 4.20.2.4, "Streaming on Dialup Connections".
  35.  
  36. Of course both Kermit partners must support streaming.  For example,
  37. C-Kermit 7.0 or later and Kermit 95 1.1.19 or later.
  38.  
  39. The problem with streaming is that it's all-or-nothing.  Any error will
  40. stop the transfer dead.  Of course you can always keep partial files
  41. and use the RESEND/REGET feature to continue from that point.
  42.  
  43. : I would still much rather use the Kermit protocol, but every attempt I
  44. : have made to adjust the parameters of the protocol (I'm transferring
  45. : C-Kermit to C-Kermit here) result in indefinite delays or unbelievably
  46. : slow performance (would you believe 2 CPS -- that's TWO (period) CPS,
  47. : while Zmodem at least broke the 20CPS barrier and averaged about 21
  48. : CPS, which is acceptable.  But again, I'd rather use the Kermit
  49. : protocol and its nice features like "set send move-to" and countless
  50. : other advantages.
  51. :
  52. Thanks :-)
  53.  
  54. For the past 10 years or so, timeouts have been "dynamic" -- calculated on
  55. the fly based on the behavior of the connection.  That's why your SET SEND
  56. and SET RECEIVE timeout commands seemed to have no effect.  Here's the
  57. text from "help set send":
  58.  
  59. SET SEND TIMEOUT number [ { DYNAMIC [ min max ] ], FIXED } ]
  60.   Number of seconds to wait for a packet before sending NAK or
  61.   retransmitting.  Include the word DYNAMIC after the number in the
  62.   SET SEND TIMEOUT command to have Kermit compute the timeouts dynamically
  63.   throughout the transfer based on the packet rate.  Include the word FIXED
  64.   to use the "number" given throughout the transfer.  DYNAMIC is the
  65.   default.  After DYNAMIC you may include minimum and maximum values.
  66.  
  67. It should also say, a negative timeout value means "don't time out,
  68. wait forever":
  69.  
  70.   SET SEND TIMEOUT -1 FIXED
  71.  
  72. Does this help?
  73.  
  74. - Frank